package com.yuhan.yh_wendu.mapper;

import com.yuhan.yh_wendu.entity.wendubiao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WenduMapper {
    @Select("select *from wendubiao where id=#{id}")
     public wendubiao findbyId(int id);
    @Select("select *from wendubiao ")
    public List<wendubiao> findAll();



}
